import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '参与用户',
    align: "center",
    dataIndex: 'userId'
  },
  {
    title: '活动ID',
    align: "center",
    dataIndex: 'activityId'
  },
  {
    title: '卡片编号',
    align: "center",
    dataIndex: 'cardNo'
  },
  {
    title: '参加状态',
    align: "center",
    dataIndex: 'joinStatus'
  },
  {
    title: '创建日期',
    align: "center",
    dataIndex: 'createTime'
  },
];

// 高级查询数据
export const superQuerySchema = {
  userId: {title: '参与用户',order: 0,view: 'text', type: 'string',},
  activityId: {title: '活动ID',order: 1,view: 'text', type: 'string',},
  cardNo: {title: '卡片编号',order: 2,view: 'text', type: 'string',},
  joinStatus: {title: '参加状态',order: 3,view: 'text', type: 'string',},
  createTime: {title: '创建日期',order: 4,view: 'datetime', type: 'string',},
};
